/**
 * 
 */
package org.dse.analysis;

/**
 * This interface provides a method for returning the result of a segmenter. All
 * segmenters process and return its result as a string of tokens. The outside
 * uses the segmenter just for getting tokens, while the algorithm is under the
 * interface.
 * 
 * @author zhangchen
 * 
 */
public interface Segmenter {

	/**
	 * Return the next token in the segmenter.
	 * 
	 * @return the next token
	 */
	public Token next();
}
